package com.donn.securitycontrolplatform.db1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donn.securitycontrolplatform.role.entity.TRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author zhenglixiang
 * @since 2022-06-10
 */

@Mapper
public interface TRoleMapper extends BaseMapper<TRole> {

    TRole getRoleByUserId(@Param("userId") Long userId);
}
